<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIScrollView Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_scroll_view.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_scroll_view-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIScrollView Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This script, when attached to a panel turns it into a scroll view. You can then attach <a class="el" href="class_u_i_drag_scroll_view.html" title="Allows dragging of the specified scroll view by mouse or touch. ">UIDragScrollView</a> to colliders within to make it draggable.  
 <a href="class_u_i_scroll_view.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIScrollView:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_scroll_view.png" usemap="#UIScrollView_map" alt=""/>
  <map id="UIScrollView_map" name="UIScrollView_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:acd822838a7e286344d57d8267ade2df3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3">Movement</a> { <a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3ac1b5fa03ecdb95d4a45dd1c40b02527f">Movement.Horizontal</a>, 
<a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3a06ce2a25e5d12c166a36f654dbea6012">Movement.Vertical</a>, 
<a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3a89c6caacc7047b0a535412d7f939f870">Movement.Unrestricted</a>, 
<a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3a90589c47f06eb971d548591f23c285af">Movement.Custom</a>
 }</td></tr>
<tr class="separator:acd822838a7e286344d57d8267ade2df3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ee6a0c8aabcbe985d0a64abab0d31cc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cc">DragEffect</a> { <a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cca6adf97f83acf6453d4a6a4b1070f3754">DragEffect.None</a>, 
<a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cca37323780191d51a33d295ac10fb98f06">DragEffect.Momentum</a>, 
<a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31ccacb2aae3250d3f30d81ddf44d37ace739">DragEffect.MomentumAndSpring</a>
 }</td></tr>
<tr class="separator:a5ee6a0c8aabcbe985d0a64abab0d31cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c0f4001957ce0d0fc26c8f712b1da6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6">ShowCondition</a> { <a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6a68eec46437c384d8dad18d5464ebc35c">ShowCondition.Always</a>, 
<a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6a4aa6daebd505534ee329a66d7009fba1">ShowCondition.OnlyIfNeeded</a>, 
<a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6ae94748707dcc2d7b8269cf5d5b965dfa">ShowCondition.WhenDragging</a>
 }</td></tr>
<tr class="separator:af0c0f4001957ce0d0fc26c8f712b1da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aba952c6a762c1d8e3cd640cd776015f9"><td class="memItemLeft" align="right" valign="top">delegate void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a> ()</td></tr>
<tr class="separator:aba952c6a762c1d8e3cd640cd776015f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fcfe73b62a5572181c927c4eb58c2a2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a9fcfe73b62a5572181c927c4eb58c2a2">RestrictWithinBounds</a> (bool instant)</td></tr>
<tr class="memdesc:a9fcfe73b62a5572181c927c4eb58c2a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restrict the scroll view's contents to be within the scroll view's bounds.  <a href="#a9fcfe73b62a5572181c927c4eb58c2a2">More...</a><br /></td></tr>
<tr class="separator:a9fcfe73b62a5572181c927c4eb58c2a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56a28d3b86dfcd2cc5815996c04c93ff"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a56a28d3b86dfcd2cc5815996c04c93ff">RestrictWithinBounds</a> (bool instant, bool horizontal, bool vertical)</td></tr>
<tr class="memdesc:a56a28d3b86dfcd2cc5815996c04c93ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restrict the scroll view's contents to be within the scroll view's bounds.  <a href="#a56a28d3b86dfcd2cc5815996c04c93ff">More...</a><br /></td></tr>
<tr class="separator:a56a28d3b86dfcd2cc5815996c04c93ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b695fb11141066248b5b0d083d77175"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a5b695fb11141066248b5b0d083d77175">DisableSpring</a> ()</td></tr>
<tr class="memdesc:a5b695fb11141066248b5b0d083d77175"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the spring movement.  <a href="#a5b695fb11141066248b5b0d083d77175">More...</a><br /></td></tr>
<tr class="separator:a5b695fb11141066248b5b0d083d77175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e1da96e7ca79d3208673bedafd4a2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a58e1da96e7ca79d3208673bedafd4a2d">UpdateScrollbars</a> ()</td></tr>
<tr class="memdesc:a58e1da96e7ca79d3208673bedafd4a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the values of the associated scroll bars.  <a href="#a58e1da96e7ca79d3208673bedafd4a2d">More...</a><br /></td></tr>
<tr class="separator:a58e1da96e7ca79d3208673bedafd4a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a898ef20af08bf8fd88da48a47c058cf2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a898ef20af08bf8fd88da48a47c058cf2">UpdateScrollbars</a> (bool recalculateBounds)</td></tr>
<tr class="memdesc:a898ef20af08bf8fd88da48a47c058cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the values of the associated scroll bars.  <a href="#a898ef20af08bf8fd88da48a47c058cf2">More...</a><br /></td></tr>
<tr class="separator:a898ef20af08bf8fd88da48a47c058cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7744a8d770232ef33ce509c4b97edb8c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a7744a8d770232ef33ce509c4b97edb8c">SetDragAmount</a> (float x, float y, bool updateScrollbars)</td></tr>
<tr class="memdesc:a7744a8d770232ef33ce509c4b97edb8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the drag amount of the scroll view to the specified 0-1 range values. (0, 0) is the top-left corner, (1, 1) is the bottom-right.  <a href="#a7744a8d770232ef33ce509c4b97edb8c">More...</a><br /></td></tr>
<tr class="separator:a7744a8d770232ef33ce509c4b97edb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d06a9b4c431d87bab36d18d507c86e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a2d06a9b4c431d87bab36d18d507c86e3">InvalidateBounds</a> ()</td></tr>
<tr class="memdesc:a2d06a9b4c431d87bab36d18d507c86e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually invalidate the scroll view's bounds so that they update next time.  <a href="#a2d06a9b4c431d87bab36d18d507c86e3">More...</a><br /></td></tr>
<tr class="separator:a2d06a9b4c431d87bab36d18d507c86e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4fbddd1de781f66473614694ea78a91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ac4fbddd1de781f66473614694ea78a91">ResetPosition</a> ()</td></tr>
<tr class="memdesc:ac4fbddd1de781f66473614694ea78a91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the scroll view's position to the top-left corner. It's recommended to call this function before AND after you re-populate the scroll view's contents (ex: switching window tabs). Another option is to populate the scroll view's contents, reset its position, then call this function to reposition the clipping.  <a href="#ac4fbddd1de781f66473614694ea78a91">More...</a><br /></td></tr>
<tr class="separator:ac4fbddd1de781f66473614694ea78a91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea33f2e7deb35cecabca4dacec3c91aa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aea33f2e7deb35cecabca4dacec3c91aa">UpdatePosition</a> ()</td></tr>
<tr class="memdesc:aea33f2e7deb35cecabca4dacec3c91aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call this function after you adjust the scroll view's bounds if you want it to maintain the current scrolled position  <a href="#aea33f2e7deb35cecabca4dacec3c91aa">More...</a><br /></td></tr>
<tr class="separator:aea33f2e7deb35cecabca4dacec3c91aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1534ffd186ca3224b5d63ff1a8f62336"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a1534ffd186ca3224b5d63ff1a8f62336">OnScrollBar</a> ()</td></tr>
<tr class="memdesc:a1534ffd186ca3224b5d63ff1a8f62336"><td class="mdescLeft">&#160;</td><td class="mdescRight">Triggered by the scroll bars when they change.  <a href="#a1534ffd186ca3224b5d63ff1a8f62336">More...</a><br /></td></tr>
<tr class="separator:a1534ffd186ca3224b5d63ff1a8f62336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c4022868f0d42e841b973a1e58103ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a9c4022868f0d42e841b973a1e58103ad">MoveRelative</a> (Vector3 relative)</td></tr>
<tr class="memdesc:a9c4022868f0d42e841b973a1e58103ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move the scroll view by the specified local space amount.  <a href="#a9c4022868f0d42e841b973a1e58103ad">More...</a><br /></td></tr>
<tr class="separator:a9c4022868f0d42e841b973a1e58103ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af874815821a671411b15c09e2b498ca4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#af874815821a671411b15c09e2b498ca4">MoveAbsolute</a> (Vector3 absolute)</td></tr>
<tr class="memdesc:af874815821a671411b15c09e2b498ca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move the scroll view by the specified world space amount.  <a href="#af874815821a671411b15c09e2b498ca4">More...</a><br /></td></tr>
<tr class="separator:af874815821a671411b15c09e2b498ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e16f6d8166fcde8c2b50537e6adec46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a0e16f6d8166fcde8c2b50537e6adec46">Press</a> (bool pressed)</td></tr>
<tr class="memdesc:a0e16f6d8166fcde8c2b50537e6adec46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a plane on which we will be performing the dragging.  <a href="#a0e16f6d8166fcde8c2b50537e6adec46">More...</a><br /></td></tr>
<tr class="separator:a0e16f6d8166fcde8c2b50537e6adec46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7af9c8f747abf07f1c8116c54ba88c07"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a7af9c8f747abf07f1c8116c54ba88c07">Drag</a> ()</td></tr>
<tr class="memdesc:a7af9c8f747abf07f1c8116c54ba88c07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drag the object along the plane.  <a href="#a7af9c8f747abf07f1c8116c54ba88c07">More...</a><br /></td></tr>
<tr class="separator:a7af9c8f747abf07f1c8116c54ba88c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83126a49d85548b357aa300833812bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ae83126a49d85548b357aa300833812bd">Scroll</a> (float delta)</td></tr>
<tr class="memdesc:ae83126a49d85548b357aa300833812bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the object should support the scroll wheel, do it.  <a href="#ae83126a49d85548b357aa300833812bd">More...</a><br /></td></tr>
<tr class="separator:ae83126a49d85548b357aa300833812bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af4f4cf0b2e1077c7e90de2885d1e3671"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3">Movement</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#af4f4cf0b2e1077c7e90de2885d1e3671">movement</a> = Movement.Horizontal</td></tr>
<tr class="memdesc:af4f4cf0b2e1077c7e90de2885d1e3671"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of movement allowed by the scroll view.  <a href="#af4f4cf0b2e1077c7e90de2885d1e3671">More...</a><br /></td></tr>
<tr class="separator:af4f4cf0b2e1077c7e90de2885d1e3671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac34d3fc10a51018136baa4c96b1244df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cc">DragEffect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ac34d3fc10a51018136baa4c96b1244df">dragEffect</a> = DragEffect.MomentumAndSpring</td></tr>
<tr class="memdesc:ac34d3fc10a51018136baa4c96b1244df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Effect to apply when dragging.  <a href="#ac34d3fc10a51018136baa4c96b1244df">More...</a><br /></td></tr>
<tr class="separator:ac34d3fc10a51018136baa4c96b1244df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d59cdb5e18519c39890c8d15611f4b5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a4d59cdb5e18519c39890c8d15611f4b5">restrictWithinPanel</a> = true</td></tr>
<tr class="memdesc:a4d59cdb5e18519c39890c8d15611f4b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the dragging will be restricted to be within the scroll view's bounds.  <a href="#a4d59cdb5e18519c39890c8d15611f4b5">More...</a><br /></td></tr>
<tr class="separator:a4d59cdb5e18519c39890c8d15611f4b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab278e7652bbea2787fe66c4a0e4bacc1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ab278e7652bbea2787fe66c4a0e4bacc1">disableDragIfFits</a> = false</td></tr>
<tr class="memdesc:ab278e7652bbea2787fe66c4a0e4bacc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether dragging will be disabled if the contents fit.  <a href="#ab278e7652bbea2787fe66c4a0e4bacc1">More...</a><br /></td></tr>
<tr class="separator:ab278e7652bbea2787fe66c4a0e4bacc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a084bf75c9024d7bea1064b28c7213e00"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a084bf75c9024d7bea1064b28c7213e00">smoothDragStart</a> = true</td></tr>
<tr class="memdesc:a084bf75c9024d7bea1064b28c7213e00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the drag operation will be started smoothly, or if if it will be precise (but will have a noticeable "jump").  <a href="#a084bf75c9024d7bea1064b28c7213e00">More...</a><br /></td></tr>
<tr class="separator:a084bf75c9024d7bea1064b28c7213e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a786c4be2d93f1f221a1dbd4aef975dd4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a786c4be2d93f1f221a1dbd4aef975dd4">iOSDragEmulation</a> = true</td></tr>
<tr class="memdesc:a786c4be2d93f1f221a1dbd4aef975dd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether to use iOS drag emulation, where the content only drags at half the speed of the touch/mouse movement when the content edge is within the clipping area.  <a href="#a786c4be2d93f1f221a1dbd4aef975dd4">More...</a><br /></td></tr>
<tr class="separator:a786c4be2d93f1f221a1dbd4aef975dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e235a2c465cf8a2a31deff67c7c207b"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a3e235a2c465cf8a2a31deff67c7c207b">scrollWheelFactor</a> = 0.25f</td></tr>
<tr class="memdesc:a3e235a2c465cf8a2a31deff67c7c207b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Effect the scroll wheel will have on the momentum.  <a href="#a3e235a2c465cf8a2a31deff67c7c207b">More...</a><br /></td></tr>
<tr class="separator:a3e235a2c465cf8a2a31deff67c7c207b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa5d9dc4dc1f692358bedcd2796895e1"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#afa5d9dc4dc1f692358bedcd2796895e1">momentumAmount</a> = 35f</td></tr>
<tr class="memdesc:afa5d9dc4dc1f692358bedcd2796895e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">How much momentum gets applied when the press is released after dragging.  <a href="#afa5d9dc4dc1f692358bedcd2796895e1">More...</a><br /></td></tr>
<tr class="separator:afa5d9dc4dc1f692358bedcd2796895e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e83ae83d436a3ec32f5cf6af38b0b51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a7e83ae83d436a3ec32f5cf6af38b0b51">horizontalScrollBar</a></td></tr>
<tr class="memdesc:a7e83ae83d436a3ec32f5cf6af38b0b51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Horizontal scrollbar used for visualization.  <a href="#a7e83ae83d436a3ec32f5cf6af38b0b51">More...</a><br /></td></tr>
<tr class="separator:a7e83ae83d436a3ec32f5cf6af38b0b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e32759675dcda2657d6f5f82cfa56eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a4e32759675dcda2657d6f5f82cfa56eb">verticalScrollBar</a></td></tr>
<tr class="memdesc:a4e32759675dcda2657d6f5f82cfa56eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertical scrollbar used for visualization.  <a href="#a4e32759675dcda2657d6f5f82cfa56eb">More...</a><br /></td></tr>
<tr class="separator:a4e32759675dcda2657d6f5f82cfa56eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8acdf47d0fde672b67d7332c368299"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6">ShowCondition</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a8f8acdf47d0fde672b67d7332c368299">showScrollBars</a> = ShowCondition.OnlyIfNeeded</td></tr>
<tr class="memdesc:a8f8acdf47d0fde672b67d7332c368299"><td class="mdescLeft">&#160;</td><td class="mdescRight">Condition that must be met for the scroll bars to become visible.  <a href="#a8f8acdf47d0fde672b67d7332c368299">More...</a><br /></td></tr>
<tr class="separator:a8f8acdf47d0fde672b67d7332c368299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd00da6bff11191688a68f8b7258384a"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#abd00da6bff11191688a68f8b7258384a">customMovement</a> = new Vector2(1f, 0f)</td></tr>
<tr class="memdesc:abd00da6bff11191688a68f8b7258384a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Custom movement, if the 'movement' field is set to 'Custom'.  <a href="#abd00da6bff11191688a68f8b7258384a">More...</a><br /></td></tr>
<tr class="separator:abd00da6bff11191688a68f8b7258384a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d883784e45bb198d5e05539569af57f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a9d883784e45bb198d5e05539569af57f">contentPivot</a> = UIWidget.Pivot.TopLeft</td></tr>
<tr class="memdesc:a9d883784e45bb198d5e05539569af57f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Content's pivot point &ndash; where it originates from by default.  <a href="#a9d883784e45bb198d5e05539569af57f">More...</a><br /></td></tr>
<tr class="separator:a9d883784e45bb198d5e05539569af57f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c41a7c3e788ee641d737f1e8521c7c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a2c41a7c3e788ee641d737f1e8521c7c7">onDragStarted</a></td></tr>
<tr class="memdesc:a2c41a7c3e788ee641d737f1e8521c7c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback to trigger when the drag process begins.  <a href="#a2c41a7c3e788ee641d737f1e8521c7c7">More...</a><br /></td></tr>
<tr class="separator:a2c41a7c3e788ee641d737f1e8521c7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada28a39a4403f46e2f78d84084652041"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ada28a39a4403f46e2f78d84084652041">onDragFinished</a></td></tr>
<tr class="memdesc:ada28a39a4403f46e2f78d84084652041"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback to trigger when the drag process finished. Can be used for additional effects, such as centering on some object.  <a href="#ada28a39a4403f46e2f78d84084652041">More...</a><br /></td></tr>
<tr class="separator:ada28a39a4403f46e2f78d84084652041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0fa654ab4c5e93c290a3c2aa468b4cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ab0fa654ab4c5e93c290a3c2aa468b4cc">onMomentumMove</a></td></tr>
<tr class="memdesc:ab0fa654ab4c5e93c290a3c2aa468b4cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback triggered when the scroll view is moving as a result of momentum in between of OnDragFinished and OnStoppedMoving.  <a href="#ab0fa654ab4c5e93c290a3c2aa468b4cc">More...</a><br /></td></tr>
<tr class="separator:ab0fa654ab4c5e93c290a3c2aa468b4cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae55c4bf2dc5d2113174cdeb91dff7c91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ae55c4bf2dc5d2113174cdeb91dff7c91">onStoppedMoving</a></td></tr>
<tr class="memdesc:ae55c4bf2dc5d2113174cdeb91dff7c91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event callback to trigger when the scroll view's movement ends.  <a href="#ae55c4bf2dc5d2113174cdeb91dff7c91">More...</a><br /></td></tr>
<tr class="separator:ae55c4bf2dc5d2113174cdeb91dff7c91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09c7cacb762ef6987274e8adead32020"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_center_on_child.html">UICenterOnChild</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a09c7cacb762ef6987274e8adead32020">centerOnChild</a> = null</td></tr>
<tr class="separator:a09c7cacb762ef6987274e8adead32020"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a6ada1eb9732c0d19c6854ac91b8e2f7b"><td class="memItemLeft" align="right" valign="top">static BetterList&lt; <a class="el" href="class_u_i_scroll_view.html">UIScrollView</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a6ada1eb9732c0d19c6854ac91b8e2f7b">list</a> = new BetterList&lt;<a class="el" href="class_u_i_scroll_view.html">UIScrollView</a>&gt;()</td></tr>
<tr class="separator:a6ada1eb9732c0d19c6854ac91b8e2f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a25c596a561d779c5cbf0a1ac9910565b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a25c596a561d779c5cbf0a1ac9910565b">Start</a> ()</td></tr>
<tr class="memdesc:a25c596a561d779c5cbf0a1ac9910565b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the initial drag value and register the listener delegates.  <a href="#a25c596a561d779c5cbf0a1ac9910565b">More...</a><br /></td></tr>
<tr class="separator:a25c596a561d779c5cbf0a1ac9910565b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae65ec1c7dce74447a70e8518bc384eb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ae65ec1c7dce74447a70e8518bc384eb5">UpdateScrollbars</a> (<a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a> slider, float contentMin, float contentMax, float contentSize, float viewSize, bool inverted)</td></tr>
<tr class="memdesc:ae65ec1c7dce74447a70e8518bc384eb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function used in UpdateScrollbars(float) function above.  <a href="#ae65ec1c7dce74447a70e8518bc384eb5">More...</a><br /></td></tr>
<tr class="separator:ae65ec1c7dce74447a70e8518bc384eb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac470c1a5784cc2bad2ed855a6ec61d69"><td class="memItemLeft" align="right" valign="top">Transform&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ac470c1a5784cc2bad2ed855a6ec61d69">mTrans</a></td></tr>
<tr class="separator:ac470c1a5784cc2bad2ed855a6ec61d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93df38d3f11379f4e5aa0ec062753a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a93df38d3f11379f4e5aa0ec062753a7c">mPanel</a></td></tr>
<tr class="separator:a93df38d3f11379f4e5aa0ec062753a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e2ad0ef6ec4079b783376d194b5b89f"><td class="memItemLeft" align="right" valign="top">Plane&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a0e2ad0ef6ec4079b783376d194b5b89f">mPlane</a></td></tr>
<tr class="separator:a0e2ad0ef6ec4079b783376d194b5b89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73831e21f5cd07f388d894290541ea99"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a73831e21f5cd07f388d894290541ea99">mLastPos</a></td></tr>
<tr class="separator:a73831e21f5cd07f388d894290541ea99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac76997c6bfcc9b7ba8ee1ba137bcbd87"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ac76997c6bfcc9b7ba8ee1ba137bcbd87">mPressed</a> = false</td></tr>
<tr class="separator:ac76997c6bfcc9b7ba8ee1ba137bcbd87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef1efac67b604380ac8b2c3e6d14613"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aeef1efac67b604380ac8b2c3e6d14613">mMomentum</a> = Vector3.zero</td></tr>
<tr class="separator:aeef1efac67b604380ac8b2c3e6d14613"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee94d9f0275125cdbf11d29314211b9a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aee94d9f0275125cdbf11d29314211b9a">mScroll</a> = 0f</td></tr>
<tr class="separator:aee94d9f0275125cdbf11d29314211b9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8289960d238707a2427bb3f01a1a0863"><td class="memItemLeft" align="right" valign="top">Bounds&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a8289960d238707a2427bb3f01a1a0863">mBounds</a></td></tr>
<tr class="separator:a8289960d238707a2427bb3f01a1a0863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009c9c269c7f8fbe9574b7f9fd854f65"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a009c9c269c7f8fbe9574b7f9fd854f65">mCalculatedBounds</a> = false</td></tr>
<tr class="separator:a009c9c269c7f8fbe9574b7f9fd854f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8bb9a706f85c4242adda05fc6e37e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#adf8bb9a706f85c4242adda05fc6e37e6">mShouldMove</a> = false</td></tr>
<tr class="separator:adf8bb9a706f85c4242adda05fc6e37e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b642e41355b1386429bcf55ecdfb542"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a7b642e41355b1386429bcf55ecdfb542">mIgnoreCallbacks</a> = false</td></tr>
<tr class="separator:a7b642e41355b1386429bcf55ecdfb542"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade93cd57607423442360b3dddd879909"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ade93cd57607423442360b3dddd879909">mDragID</a> = -10</td></tr>
<tr class="separator:ade93cd57607423442360b3dddd879909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadc8387924a9106f694f1140ef3ba42c"><td class="memItemLeft" align="right" valign="top">Vector2&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aadc8387924a9106f694f1140ef3ba42c">mDragStartOffset</a> = Vector2.zero</td></tr>
<tr class="separator:aadc8387924a9106f694f1140ef3ba42c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3000cb95f14817f0f9d334e618b66148"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a3000cb95f14817f0f9d334e618b66148">mDragStarted</a> = false</td></tr>
<tr class="separator:a3000cb95f14817f0f9d334e618b66148"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a51f4a814a2ddc01128f3452fcf42875a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_panel.html">UIPanel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a51f4a814a2ddc01128f3452fcf42875a">panel</a><code> [get]</code></td></tr>
<tr class="memdesc:a51f4a814a2ddc01128f3452fcf42875a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Panel that's being dragged.  <a href="#a51f4a814a2ddc01128f3452fcf42875a">More...</a><br /></td></tr>
<tr class="separator:a51f4a814a2ddc01128f3452fcf42875a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa280d80803b5c940f0c070a5244f335a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#aa280d80803b5c940f0c070a5244f335a">isDragging</a><code> [get]</code></td></tr>
<tr class="memdesc:aa280d80803b5c940f0c070a5244f335a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the scroll view is being dragged.  <a href="#aa280d80803b5c940f0c070a5244f335a">More...</a><br /></td></tr>
<tr class="separator:aa280d80803b5c940f0c070a5244f335a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe007aed60a661a72adf158a49bd8cbb"><td class="memItemLeft" align="right" valign="top">virtual Bounds&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#abe007aed60a661a72adf158a49bd8cbb">bounds</a><code> [get]</code></td></tr>
<tr class="memdesc:abe007aed60a661a72adf158a49bd8cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the bounds used by the widgets.  <a href="#abe007aed60a661a72adf158a49bd8cbb">More...</a><br /></td></tr>
<tr class="separator:abe007aed60a661a72adf158a49bd8cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfa8d041ae598fd1a6879334fe780a3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#abfa8d041ae598fd1a6879334fe780a3c">canMoveHorizontally</a><code> [get]</code></td></tr>
<tr class="memdesc:abfa8d041ae598fd1a6879334fe780a3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the scroll view can move horizontally.  <a href="#abfa8d041ae598fd1a6879334fe780a3c">More...</a><br /></td></tr>
<tr class="separator:abfa8d041ae598fd1a6879334fe780a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4665263b69abd861ef714cb062cb5ab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ac4665263b69abd861ef714cb062cb5ab">canMoveVertically</a><code> [get]</code></td></tr>
<tr class="memdesc:ac4665263b69abd861ef714cb062cb5ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the scroll view can move vertically.  <a href="#ac4665263b69abd861ef714cb062cb5ab">More...</a><br /></td></tr>
<tr class="separator:ac4665263b69abd861ef714cb062cb5ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19777a4f471e2200fa56fd29ba4b9b7e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a19777a4f471e2200fa56fd29ba4b9b7e">shouldMoveHorizontally</a><code> [get]</code></td></tr>
<tr class="memdesc:a19777a4f471e2200fa56fd29ba4b9b7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the scroll view should be able to move horizontally (contents don't fit).  <a href="#a19777a4f471e2200fa56fd29ba4b9b7e">More...</a><br /></td></tr>
<tr class="separator:a19777a4f471e2200fa56fd29ba4b9b7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad42205c3e169a992f883f05ed7b58fac"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#ad42205c3e169a992f883f05ed7b58fac">shouldMoveVertically</a><code> [get]</code></td></tr>
<tr class="memdesc:ad42205c3e169a992f883f05ed7b58fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the scroll view should be able to move vertically (contents don't fit).  <a href="#ad42205c3e169a992f883f05ed7b58fac">More...</a><br /></td></tr>
<tr class="separator:ad42205c3e169a992f883f05ed7b58fac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96dc4c8b6925d6301e50c698f90872a1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a96dc4c8b6925d6301e50c698f90872a1">shouldMove</a><code> [get]</code></td></tr>
<tr class="memdesc:a96dc4c8b6925d6301e50c698f90872a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the contents of the scroll view should actually be draggable depends on whether they currently fit or not.  <a href="#a96dc4c8b6925d6301e50c698f90872a1">More...</a><br /></td></tr>
<tr class="separator:a96dc4c8b6925d6301e50c698f90872a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04a985d5931e9275e437e346b26965b5"><td class="memItemLeft" align="right" valign="top">Vector3&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_scroll_view.html#a04a985d5931e9275e437e346b26965b5">currentMomentum</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a04a985d5931e9275e437e346b26965b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current momentum, exposed just in case it's needed.  <a href="#a04a985d5931e9275e437e346b26965b5">More...</a><br /></td></tr>
<tr class="separator:a04a985d5931e9275e437e346b26965b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This script, when attached to a panel turns it into a scroll view. You can then attach <a class="el" href="class_u_i_drag_scroll_view.html" title="Allows dragging of the specified scroll view by mouse or touch. ">UIDragScrollView</a> to colliders within to make it draggable. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a5ee6a0c8aabcbe985d0a64abab0d31cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cc">UIScrollView.DragEffect</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5ee6a0c8aabcbe985d0a64abab0d31cca6adf97f83acf6453d4a6a4b1070f3754"></a>None&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5ee6a0c8aabcbe985d0a64abab0d31cca37323780191d51a33d295ac10fb98f06"></a>Momentum&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5ee6a0c8aabcbe985d0a64abab0d31ccacb2aae3250d3f30d81ddf44d37ace739"></a>MomentumAndSpring&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="acd822838a7e286344d57d8267ade2df3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3">UIScrollView.Movement</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="acd822838a7e286344d57d8267ade2df3ac1b5fa03ecdb95d4a45dd1c40b02527f"></a>Horizontal&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="acd822838a7e286344d57d8267ade2df3a06ce2a25e5d12c166a36f654dbea6012"></a>Vertical&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="acd822838a7e286344d57d8267ade2df3a89c6caacc7047b0a535412d7f939f870"></a>Unrestricted&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="acd822838a7e286344d57d8267ade2df3a90589c47f06eb971d548591f23c285af"></a>Custom&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="af0c0f4001957ce0d0fc26c8f712b1da6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6">UIScrollView.ShowCondition</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="af0c0f4001957ce0d0fc26c8f712b1da6a68eec46437c384d8dad18d5464ebc35c"></a>Always&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af0c0f4001957ce0d0fc26c8f712b1da6a4aa6daebd505534ee329a66d7009fba1"></a>OnlyIfNeeded&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af0c0f4001957ce0d0fc26c8f712b1da6ae94748707dcc2d7b8269cf5d5b965dfa"></a>WhenDragging&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5b695fb11141066248b5b0d083d77175"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.DisableSpring </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disable the spring movement. </p>

</div>
</div>
<a class="anchor" id="a7af9c8f747abf07f1c8116c54ba88c07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.Drag </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Drag the object along the plane. </p>

</div>
</div>
<a class="anchor" id="a2d06a9b4c431d87bab36d18d507c86e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.InvalidateBounds </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manually invalidate the scroll view's bounds so that they update next time. </p>

</div>
</div>
<a class="anchor" id="af874815821a671411b15c09e2b498ca4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.MoveAbsolute </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>absolute</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Move the scroll view by the specified world space amount. </p>

</div>
</div>
<a class="anchor" id="a9c4022868f0d42e841b973a1e58103ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIScrollView.MoveRelative </td>
          <td>(</td>
          <td class="paramtype">Vector3&#160;</td>
          <td class="paramname"><em>relative</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move the scroll view by the specified local space amount. </p>

</div>
</div>
<a class="anchor" id="aba952c6a762c1d8e3cd640cd776015f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">delegate void UIScrollView.OnDragNotification </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1534ffd186ca3224b5d63ff1a8f62336"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.OnScrollBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Triggered by the scroll bars when they change. </p>

</div>
</div>
<a class="anchor" id="a0e16f6d8166fcde8c2b50537e6adec46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.Press </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pressed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a plane on which we will be performing the dragging. </p>

</div>
</div>
<a class="anchor" id="ac4fbddd1de781f66473614694ea78a91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.ResetPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the scroll view's position to the top-left corner. It's recommended to call this function before AND after you re-populate the scroll view's contents (ex: switching window tabs). Another option is to populate the scroll view's contents, reset its position, then call this function to reposition the clipping. </p>

</div>
</div>
<a class="anchor" id="a9fcfe73b62a5572181c927c4eb58c2a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.RestrictWithinBounds </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>instant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restrict the scroll view's contents to be within the scroll view's bounds. </p>

</div>
</div>
<a class="anchor" id="a56a28d3b86dfcd2cc5815996c04c93ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.RestrictWithinBounds </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>instant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>horizontal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>vertical</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restrict the scroll view's contents to be within the scroll view's bounds. </p>

</div>
</div>
<a class="anchor" id="ae83126a49d85548b357aa300833812bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.Scroll </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>delta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If the object should support the scroll wheel, do it. </p>

</div>
</div>
<a class="anchor" id="a7744a8d770232ef33ce509c4b97edb8c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIScrollView.SetDragAmount </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>updateScrollbars</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Changes the drag amount of the scroll view to the specified 0-1 range values. (0, 0) is the top-left corner, (1, 1) is the bottom-right. </p>

</div>
</div>
<a class="anchor" id="a25c596a561d779c5cbf0a1ac9910565b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIScrollView.Start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the initial drag value and register the listener delegates. </p>

</div>
</div>
<a class="anchor" id="aea33f2e7deb35cecabca4dacec3c91aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.UpdatePosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Call this function after you adjust the scroll view's bounds if you want it to maintain the current scrolled position </p>

</div>
</div>
<a class="anchor" id="a58e1da96e7ca79d3208673bedafd4a2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.UpdateScrollbars </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the values of the associated scroll bars. </p>

</div>
</div>
<a class="anchor" id="a898ef20af08bf8fd88da48a47c058cf2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIScrollView.UpdateScrollbars </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>recalculateBounds</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the values of the associated scroll bars. </p>

</div>
</div>
<a class="anchor" id="ae65ec1c7dce74447a70e8518bc384eb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIScrollView.UpdateScrollbars </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a>&#160;</td>
          <td class="paramname"><em>slider</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>contentMin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>contentMax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>contentSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>viewSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>inverted</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Helper function used in UpdateScrollbars(float) function above. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a09c7cacb762ef6987274e8adead32020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_center_on_child.html">UICenterOnChild</a> UIScrollView.centerOnChild = null</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9d883784e45bb198d5e05539569af57f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a> UIScrollView.contentPivot = UIWidget.Pivot.TopLeft</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Content's pivot point &ndash; where it originates from by default. </p>

</div>
</div>
<a class="anchor" id="abd00da6bff11191688a68f8b7258384a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIScrollView.customMovement = new Vector2(1f, 0f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Custom movement, if the 'movement' field is set to 'Custom'. </p>

</div>
</div>
<a class="anchor" id="ab278e7652bbea2787fe66c4a0e4bacc1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.disableDragIfFits = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether dragging will be disabled if the contents fit. </p>

</div>
</div>
<a class="anchor" id="ac34d3fc10a51018136baa4c96b1244df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#a5ee6a0c8aabcbe985d0a64abab0d31cc">DragEffect</a> UIScrollView.dragEffect = DragEffect.MomentumAndSpring</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Effect to apply when dragging. </p>

</div>
</div>
<a class="anchor" id="a7e83ae83d436a3ec32f5cf6af38b0b51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a> UIScrollView.horizontalScrollBar</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Horizontal scrollbar used for visualization. </p>

</div>
</div>
<a class="anchor" id="a786c4be2d93f1f221a1dbd4aef975dd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.iOSDragEmulation = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether to use iOS drag emulation, where the content only drags at half the speed of the touch/mouse movement when the content edge is within the clipping area. </p>

</div>
</div>
<a class="anchor" id="a6ada1eb9732c0d19c6854ac91b8e2f7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BetterList&lt;<a class="el" href="class_u_i_scroll_view.html">UIScrollView</a>&gt; UIScrollView.list = new BetterList&lt;<a class="el" href="class_u_i_scroll_view.html">UIScrollView</a>&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8289960d238707a2427bb3f01a1a0863"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bounds UIScrollView.mBounds</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a009c9c269c7f8fbe9574b7f9fd854f65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.mCalculatedBounds = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ade93cd57607423442360b3dddd879909"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIScrollView.mDragID = -10</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3000cb95f14817f0f9d334e618b66148"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.mDragStarted = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aadc8387924a9106f694f1140ef3ba42c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector2 UIScrollView.mDragStartOffset = Vector2.zero</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7b642e41355b1386429bcf55ecdfb542"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.mIgnoreCallbacks = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a73831e21f5cd07f388d894290541ea99"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector3 UIScrollView.mLastPos</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aeef1efac67b604380ac8b2c3e6d14613"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector3 UIScrollView.mMomentum = Vector3.zero</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afa5d9dc4dc1f692358bedcd2796895e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UIScrollView.momentumAmount = 35f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How much momentum gets applied when the press is released after dragging. </p>

</div>
</div>
<a class="anchor" id="af4f4cf0b2e1077c7e90de2885d1e3671"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#acd822838a7e286344d57d8267ade2df3">Movement</a> UIScrollView.movement = Movement.Horizontal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of movement allowed by the scroll view. </p>

</div>
</div>
<a class="anchor" id="a93df38d3f11379f4e5aa0ec062753a7c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_panel.html">UIPanel</a> UIScrollView.mPanel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0e2ad0ef6ec4079b783376d194b5b89f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Plane UIScrollView.mPlane</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac76997c6bfcc9b7ba8ee1ba137bcbd87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.mPressed = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aee94d9f0275125cdbf11d29314211b9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIScrollView.mScroll = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adf8bb9a706f85c4242adda05fc6e37e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.mShouldMove = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac470c1a5784cc2bad2ed855a6ec61d69"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Transform UIScrollView.mTrans</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ada28a39a4403f46e2f78d84084652041"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a> UIScrollView.onDragFinished</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback to trigger when the drag process finished. Can be used for additional effects, such as centering on some object. </p>

</div>
</div>
<a class="anchor" id="a2c41a7c3e788ee641d737f1e8521c7c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a> UIScrollView.onDragStarted</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback to trigger when the drag process begins. </p>

</div>
</div>
<a class="anchor" id="ab0fa654ab4c5e93c290a3c2aa468b4cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a> UIScrollView.onMomentumMove</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback triggered when the scroll view is moving as a result of momentum in between of OnDragFinished and OnStoppedMoving. </p>

</div>
</div>
<a class="anchor" id="ae55c4bf2dc5d2113174cdeb91dff7c91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#aba952c6a762c1d8e3cd640cd776015f9">OnDragNotification</a> UIScrollView.onStoppedMoving</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event callback to trigger when the scroll view's movement ends. </p>

</div>
</div>
<a class="anchor" id="a4d59cdb5e18519c39890c8d15611f4b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.restrictWithinPanel = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the dragging will be restricted to be within the scroll view's bounds. </p>

</div>
</div>
<a class="anchor" id="a3e235a2c465cf8a2a31deff67c7c207b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UIScrollView.scrollWheelFactor = 0.25f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Effect the scroll wheel will have on the momentum. </p>

</div>
</div>
<a class="anchor" id="a8f8acdf47d0fde672b67d7332c368299"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_scroll_view.html#af0c0f4001957ce0d0fc26c8f712b1da6">ShowCondition</a> UIScrollView.showScrollBars = ShowCondition.OnlyIfNeeded</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Condition that must be met for the scroll bars to become visible. </p>

</div>
</div>
<a class="anchor" id="a084bf75c9024d7bea1064b28c7213e00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.smoothDragStart = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the drag operation will be started smoothly, or if if it will be precise (but will have a noticeable "jump"). </p>

</div>
</div>
<a class="anchor" id="a4e32759675dcda2657d6f5f82cfa56eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_progress_bar.html">UIProgressBar</a> UIScrollView.verticalScrollBar</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Vertical scrollbar used for visualization. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="abe007aed60a661a72adf158a49bd8cbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Bounds UIScrollView.bounds</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the bounds used by the widgets. </p>

</div>
</div>
<a class="anchor" id="abfa8d041ae598fd1a6879334fe780a3c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.canMoveHorizontally</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the scroll view can move horizontally. </p>

</div>
</div>
<a class="anchor" id="ac4665263b69abd861ef714cb062cb5ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.canMoveVertically</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the scroll view can move vertically. </p>

</div>
</div>
<a class="anchor" id="a04a985d5931e9275e437e346b26965b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Vector3 UIScrollView.currentMomentum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current momentum, exposed just in case it's needed. </p>

</div>
</div>
<a class="anchor" id="aa280d80803b5c940f0c070a5244f335a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIScrollView.isDragging</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the scroll view is being dragged. </p>

</div>
</div>
<a class="anchor" id="a51f4a814a2ddc01128f3452fcf42875a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_panel.html">UIPanel</a> UIScrollView.panel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Panel that's being dragged. </p>

</div>
</div>
<a class="anchor" id="a96dc4c8b6925d6301e50c698f90872a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool UIScrollView.shouldMove</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the contents of the scroll view should actually be draggable depends on whether they currently fit or not. </p>

</div>
</div>
<a class="anchor" id="a19777a4f471e2200fa56fd29ba4b9b7e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool UIScrollView.shouldMoveHorizontally</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the scroll view should be able to move horizontally (contents don't fit). </p>

</div>
</div>
<a class="anchor" id="ad42205c3e169a992f883f05ed7b58fac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool UIScrollView.shouldMoveVertically</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the scroll view should be able to move vertically (contents don't fit). </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/Interaction/<a class="el" href="_u_i_scroll_view_8cs.html">UIScrollView.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_scroll_view.html">UIScrollView</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:19 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
